#include "./../Include/public.h"
void updateStuData()
{
	struct stu *p = head_stu;
	while (p != NULL) {
		int sum = 0;
		for(int i=0;i<p->courses[0];i++) {
			sum += findScore(p->courses[i+1]);
		}
		p->sum = sum;
		p = p->next;
	}
}
